function changePassword() {
	var oldPaddword = $('#oldPaddword').val();
	var password = $('#password').val();
	var passwordRetype = $('#passwordRetype').val();
	var dataString = {
			'oldPaddword' : oldPaddword,
			'password' : password,
			'passwordRetype' : passwordRetype,
		};
		$.ajax({
			dataType : 'json',
			type : 'POST',
			url : 'changePassword',
			data : dataString,
			complete : function(data) {
				
				if(data.status == 200){
					var json = JSON.parse(data.responseText);
					 BootstrapDialog.alert('Hi Apple!', function(){
//						 parent.$.fancybox.close();
						 window.top.location.href =  'member?memberId=' + json.model.memberId; 
						 // window.top.location.href = 'member?memberId=' + json.model.memberId; 
				        });
					 
				}else{
					alert('dang ky that bai');
				}
				
				
			}

		});
		return false;
}